<include file="public@header" />
</head>
<body>
<div class="wrap">
    <h2 class="text-center">卓远办公系统后台管理公司账号添加</h2>
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-md-offset-3">
                
                <form class="js-ajax-form" action="{:url('company/companyAddPost')}" method="post">
                    <div class="form-group">
                        <h4>公司信息：</h4>
                    </div>
                    <div class="form-group">
                        <input type="text" id="input_company_name" class="form-control" name="company_name"
                               placeholder="请输入公司名称" title="公司名称"
                               value="" data-rule-required="true" data-msg-required="">
                    </div>
                    <div class="form-group">
                        <input type="text" id="input_company_name" class="form-control" name="address"
                               placeholder="请输入通信地址" title="通信地址"
                               value="" data-rule-required="true" data-msg-required="">
                    </div>
                    <div class="form-group">
                        <input type="text" id="input_company_name" class="form-control" name="tel"
                               placeholder="请输入公司电话" title="公司电话"
                               value="" data-rule-required="true" data-msg-required="">
                    </div>
                    <div class="form-group">
                        <input type="text" id="input_company_name" class="form-control" name="url"
                               placeholder="请输入公司网址" title="公司网址"
                               value="" data-rule-required="true" data-msg-required="">
                    </div>

                    <div class="form-group">
                        <input type="hidden" id="input_company_name" class="form-control" name="company_num"
                               placeholder="请输入组织代码" title="{:lang('USERNAME_OR_EMAIL')}"
                               value="2019" data-rule-required="true" data-msg-required="">
                    </div>
                    <div class="form-group">
                        <select name="company_type" class="form-control">
                            <option value="">请选择所属行业</option>
                            <volist name="company_type" id="vo">
                                <option value="{$vo.id}">{$vo.type_name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-group">
                        <select name="frame_type" class="form-control">
                            <option value="0">THINKPHP(TP框架系统账号)</option>
                            <option value="1">PHPCMS(CMS框架系统账号)</option>
                        </select>
                    </div>
                    <div class="form-group">
                       <h4>管理员信息：</h4>
                    </div>
                    <div class="form-group">
                        <input type="text" id="input_username" class="form-control" name="username"
                               placeholder="请建入管理员账号" title="{:lang('USERNAME_OR_EMAIL')}"
                               value="" data-rule-required="true" data-msg-required="">
                    </div>
                    
                    <div class="form-group">
                        <input type="password" id="input_password" class="form-control" name="password"
                               placeholder="请输入登录密码" title="" data-rule-required="true"
                               data-msg-required="">
                    </div>
                    <div class="form-group">
                        <input type="text" name="mobile" placeholder="请输入手机号" class="form-control"
                                       id="js-mobile-input">
                    </div>
                    <div class="form-group">
                        <input type="text" name="email" placeholder="请输入邮箱地址" class="form-control"
                                       id="js-mobile-input">
                    </div>
                    <!--div class="form-group">
                            <div style="position: relative;">
                                <input type="text" name="code" placeholder="手机验证码" style=""
                                               class="form-control">
                                <a class="btn btn-success js-get-mobile-code"
                                           style="width: 163px;position: absolute;top:0;right: 0;"
                                           data-wait-msg="[second]秒后才能再次获取" data-mobile-input="#js-mobile-input"
                                           data-url="{:url('user/VerificationCode/send')}"
                                           daty-type="register"
                                           data-init-second-left="60">获取手机验证码</a>
                            </div>
                    </div-->
                    <!--div class="form-group">
                        <input type="text" id="input_username" class="form-control" name="username"
                               placeholder="请填写手机验证码" title="{:lang('USERNAME_OR_EMAIL')}"
                               value="" data-rule-required="true" data-msg-required="">
                    </div-->
                    <div class="form-group">
                        <div style="position: relative;">
                            <input type="text" name="captcha" placeholder="验证码" class="form-control captcha">
                            <captcha height="32" width="150" font-size="18"
                                     style="cursor: pointer;position:absolute;right:1px;top:1px;"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <input type="hidden" name="redirect" value="">
                        <button class="btn btn-success btn-block js-ajax-submit" type="submit" style="margin-left: 0px"
                                data-loadingmsg="提交中,请稍后...">
                            提交申请
                        </button>
                    </div>

                </form>
            </div>
        </div>

    </div>
</div>
    <script src="__STATIC__/js/admin.js"></script>
    <script src="__STATIC__/js/layer/layer.js"></script>
<script type="text/javascript">
    //全局变量
    var GV = {
        ROOT: "__ROOT__/",
        WEB_ROOT: "__WEB_ROOT__/",
        JS_ROOT: "static/js/",
        APP: ''/*当前应用名*/
    };
</script>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__STATIC__/js/admin.js"></script>
<script>
    (function () {
        document.getElementById('input_username').focus();
    })();
</script>
</body>
</html>
